package loop;

import java.util.Scanner;

public class judge_3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入需要判断的年份：");
        int year = scanner.nextInt();
        switch (((year-3) % 120) % 12) {
            default:
                System.out.println("非法参数");
                break;
            case 1:
                System.out.println("rat(鼠)");
                break;
            case 2:
                System.out.println("ox(牛)");
                break;
            case 3:
                System.out.println("tiger(虎)");
                break;
            case 4:
                System.out.println("rabbit(兔)");
                break;
            case 5:
                System.out.println("dragon(龙)");
                break;
            case 6:
                System.out.println("snake(蛇)");
                break;
            case 7:
                System.out.println("horse(马)");
                break;
            case 8:
                System.out.println("sheep(羊)");
                break;
            case 9:
                System.out.println("monkey(猴)");
                break;
            case 10:
                System.out.println("rooster(鸡)");
                break;
            case 11:
                System.out.println("dog(狗)");
                break;
            case 0:
                System.out.println("pig(猪)");
                break;

        }

    }
}
